# coding=utf-8
print True and False
print True or False
print not True

print 

print not True and False
print not False and True
print True and False or False and True
print not True or False